package com.tsmti.webservice.exception;

/**
 * @Package：com.tsmti.webservice.exception
 * @Class：ErrorCodeEnum
 * @Description： TODO
 * @Author：zcw
 * @Date：Created in 2018/10/14 9:38
 * @Company:
 * @Version：
 * @Modified By:
 */
public enum  ErrorCodeEnums {

    /**参数错误*/
    ERROR_SYSTEM("90001","系统异常错误"),
    /**参数错误*/
    ERROR_PARAME("90002","参数错误"),
    /**参数为空*/
    ERROR_EMPTY_PARAME("90003","参数为空"),
    /**交易代码为空*/
    ERROR_EMPTY_TRACK("90004","交易代码为空"),
    /**交易方法为空*/
    ERROR_EMPTY_FUNCTION("90005","交易方法为空"),
    /**交易结果为空*/
    ERROR_EMPTY_RESULT("90006","交易结果为空");

    private String errorCode;
    private String errorMessage;

     ErrorCodeEnums(String errorCode, String errorMessage) {
        this.errorCode = errorCode;
        this.errorMessage = errorMessage;

    }



    public String getErrorCode() {
        return errorCode;
    }

    public void setErrorCode(String errorCode) {
        this.errorCode = errorCode;
    }

    public String getErrorMessage() {
        return errorMessage;
    }

    public void setErrorMessage(String errorMessage) {
        this.errorMessage = errorMessage;
    }
}
